<template>
  <div class="register">
    <logo-bar></logo-bar>
    <div class="container">
      <div class="content">
        <keep-alive>
          <router-view></router-view>
        </keep-alive>
      </div>
      <footer-bar></footer-bar>
    </div>
  </div>
</template>

<script>
import LogoBar from '@/components/base/LogoBar'
import FooterBar from '@/components/base/FooterBar'
import { delCookie } from '@/util/util'

export default {
  name: 'Register',
  components: {
    LogoBar,
    FooterBar
  },
  // 跳转到其他页面时，删除sessionStorage
  destroyed () {
//    window.sessionStorage.clear()
    delCookie('thaiPayMall_registerUser')
  }
}
</script>

<style scoped>
.container {
  min-width: 1200px;
  padding-top: 80px;
  background-color: #f5f5f5;
}

.content {
  width: 1200px;
  margin: 0 auto;
}
</style>
